FROM nginx:latest
 
RUN mkdir -pv /application/admin/dist
 
RUN rm -rf /etc/nginx/nginx.conf
#RUN mkdir -pv /etc/nginx/cert/
#ADD ./cloudbiaopu.com.crt /etc/nginx/cert/
#ADD ./cloudbiaopu.com.key /etc/nginx/cert/ 
#COPY ./admin-pre.conf /etc/nginx/conf.d/

COPY ./nginx.conf /etc/nginx/
COPY ./dist  /application/dist
 
#EXPOSE 443
EXPOSE 80